<?php
/**
 * Clase Base Bean para BaseMrpRecetaDetalleBN
 *
 * @package    Ordenes
 * @subpackage BaseMrpRecetaDetalleBN
 * @author     Hans
 * @version    SVN:: BaseMrpRecetaDetalleBN.class.php,v 1.1 2012-03-07 02:02:14 hans.parra Exp $
 */
abstract class BaseMrpRecetaDetalleBN
{
  protected $RcdInsumoId;
  protected $RctRecetaId;
  protected $RcdInsumoCant;
  protected $RcdUoM;
  protected $RcdPorcMerma;
  protected $RcdAlmacenId;
  protected $SysInsUsr;
  protected $SysInsAt;
  protected $SysLstUpdUsr;
  protected $SysLstUpdAt;
  protected $Mensaje;
  protected $Error;

  public function getRcdInsumoId(){
    return $this->RcdInsumoId;
  }
  public function setRcdInsumoId($v1){
    $this->RcdInsumoId = $v1; 
  }

  public function getRctRecetaId(){
    return $this->RctRecetaId;
  }
  public function setRctRecetaId($v1){
    $this->RctRecetaId = $v1; 
  }

  public function getRcdInsumoCant(){
    return $this->RcdInsumoCant;
  }
  public function setRcdInsumoCant($v1){
    $this->RcdInsumoCant = $v1; 
  }

  public function getRcdUoM(){
    return $this->RcdUoM;
  }
  public function setRcdUoM($v1){
    $this->RcdUoM = $v1; 
  }

  public function getRcdPorcMerma(){
    return $this->RcdPorcMerma;
  }
  public function setRcdPorcMerma($v1){
    $this->RcdPorcMerma = $v1; 
  }

  public function getRcdAlmacenId(){
    return $this->RcdAlmacenId;
  }
  public function setRcdAlmacenId($v1){
    $this->RcdAlmacenId = $v1; 
  }

  public function getSysInsUsr(){
    return $this->SysInsUsr;
  }
  public function setSysInsUsr($v1){
    $this->SysInsUsr = $v1; 
  }

  public function getSysInsAt(){
    return $this->SysInsAt;
  }
  public function setSysInsAt($v1){
    $this->SysInsAt = $v1; 
  }

  public function getSysLstUpdUsr(){
    return $this->SysLstUpdUsr;
  }
  public function setSysLstUpdUsr($v1){
    $this->SysLstUpdUsr = $v1; 
  }

  public function getSysLstUpdAt(){
    return $this->SysLstUpdAt;
  }
  public function setSysLstUpdAt($v1){
    $this->SysLstUpdAt = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto Mrp_recetaDetalleBN desde un RecordSet */
  public static function retrieveByRs( $o_Mrp_recetaDetalleRs )
  {
    $o_MrpRecetaDetalleBN = new MrpRecetaDetalleBN();
    $o_MrpRecetaDetalleBN->setRcd_insumoId( $o_Mrp_recetaDetalleRs['Rcd_insumoId'] );
    $o_MrpRecetaDetalleBN->setRct_recetaId( $o_Mrp_recetaDetalleRs['Rct_recetaId'] );
    $o_MrpRecetaDetalleBN->setRcd_insumoCant( $o_Mrp_recetaDetalleRs['Rcd_insumoCant'] );
    $o_MrpRecetaDetalleBN->setRcd_UoM( $o_Mrp_recetaDetalleRs['Rcd_UoM'] );
    $o_MrpRecetaDetalleBN->setRcd_porcMerma( $o_Mrp_recetaDetalleRs['Rcd_porcMerma'] );
    $o_MrpRecetaDetalleBN->setRcd_almacenId( $o_Mrp_recetaDetalleRs['Rcd_almacenId'] );
    $o_MrpRecetaDetalleBN->setSysInsUsr( $o_Mrp_recetaDetalleRs['SysInsUsr'] );
    $o_MrpRecetaDetalleBN->setSysInsAt( $o_Mrp_recetaDetalleRs['SysInsAt'] );
    $o_MrpRecetaDetalleBN->setSysLstUpdUsr( $o_Mrp_recetaDetalleRs['SysLstUpdUsr'] );
    $o_MrpRecetaDetalleBN->setSysLstUpdAt( $o_Mrp_recetaDetalleRs['SysLstUpdAt'] );
    return $o_MrpRecetaDetalleBN;
  }
}